package com.dv.shell.vo;

import com.dv.shell.entity.ProductInfo;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author DavidLoman
 * @create 2021/3/28 13:28
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProductVo {

    @JsonProperty("name")
    private String categoryName;

    @JsonProperty("type")
    private Integer categoryType;

    @JsonProperty("foods")
    private List<ProductInfoVo> productInfoVoList;
}
